*{
    margin: 0;
    padding: 0;
}
body{
    background-image: url(../images/bg.png); 
     width: 100%;
     height: 100vh;	/* 重点一 */
     margin: 0 auto;
     background-repeat: no-repeat;
     background-size: cover; /* 重点二 */
     overflow: auto;
    
}
h1{
    text-align: center;
    font-size: 62px;
}
.box-main{
    position: relative;
    width: 400px;
    height: 400px;
    margin: 100px auto;
    background-color:rgba(103, 89, 248, 0.5) ;
    border-radius: 8px;
}
.box-main h2{
    font-size: 48px;
    line-height: 50px;
    text-align: center;
    color: white;
}
.box-main .box-head img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    /* background-image: url(../images/avatar.jpg); */
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: 148px;
    top: 84px;
}
.box-main .from{
    position: absolute;
    top: 184px;
    left: 82px;
}
.from label p{
     color:white;
     font-size: 14px;
}
.from label input{
    width: 200px;
    height: 24px;
    border-bottom: 1px solid #ccc;
    background-color: transparent;
    border-radius: 8px;
}
.from input{
    width: 200px;
    height: 27px;
    text-align: center;
    color: white;
    background: #66caf5;
}
#regester{
    position: absolute;
    top: 363px;
    left: 31px;
    color: black;
}
#rember{
    position: absolute;
    top: 363px;
    left: 292px;
    color: black;
}